import 'package:flutter_meedu_videoplayer/meedu_player.dart';
import 'package:flutter_yfree/YFree.dart';
import 'package:pc/Page/Splash/main.dart';
import 'package:pc/Util/WindowUtils.dart';
import 'package:pc/main++.dart';

void main(List<String> args) {
  if (args.isEmpty) {
    openPage(SplashPage());
    initYIM();
    initYOSS();
    initMeeduPlayer();
    if (!yIsWeb) {
      initWindow();
      initSystemTray();
      initSystemMenu();
    }
  } else {
    switch (args.first) {
      case "multi_window":
        filterWindows(args);
        break;
    }
  }
}
